package com.anjubao.parking.municipal.parkinglot.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

@Data
@NoArgsConstructor//无参构造
@AllArgsConstructor//全参构造
@ApiModel(value = "ParkingLotDevicePdaEditForm",description = "验证修改PDA手持机设备")
@ToString
public class ParkingLotDevicePdaEditForm {

    /**
     * 停车场编号,code生成规则为100(3位)+yyMMddHHmm(10位)+id(19位)
     */
    @NotBlank
    @ApiModelProperty(value="停车场编号,code生成规则为100(3位)+yyMMddHHmm(10位)+id(19位)",required = true)
    private String parkingLotCode;

    /**
     * 停车场名称
     */
    @NotBlank
    @ApiModelProperty(value="停车场名称",required = true)
    private String parkingLotName;

    /**
     * 机器码
     */
    @NotBlank
    @ApiModelProperty(value="机器码",required = true)
    private String machineNo;

    /**
     * sim卡号码
     */
    @NotBlank
    @ApiModelProperty(value="sim卡号码",required = true)
    private String simNumber;

    /**
     * 使用者名称
     */
    @ApiModelProperty(value="使用者名称",required = true)
    private String userName;

}
